<?php
	
	include ROOTPATH .'include'. DS .'protect.php';
	include ROOTPATH .'include'. DS .'isMyQuery.php';
	include ROOTPATH .'include'. DS .'checkUserLogin.php';
	$powder_min = 9 ;
		include(ROOTPATH .'include'. DS .'checkPowder.php');
	 
	$do					= getQuery('do') ;
	$user_id			= getQuery('user_id');
	$status				= getQuery('status');
	$powder				= getQuery('powder');
	$admin				= new admin();
	
	switch($do){
		
		case 'delUser' 			: $admin -> delUser($user_id) ;
		break;
		
		case 'changeStatus' 	: $admin -> changeStatus($user_id,$status) ;
		break;
		
		case 'changePowder' 	: $admin -> changePowder($user_id,$powder) ;
		break;
		
		
		
		
	
	}
	           
?>